package com.dao;

public class User {
	private int goodsid;
	private String goodsname;
	private double goodsprice;
	private String thedate;
	private String shelflife;
	public int getGoodsid() {
		return goodsid;
	}
	public void setGoodsid(int goodsid) {
		this.goodsid = goodsid;
	}
	public String getGoodsname() {
		return goodsname;
	}
	public void setGoodsname(String goodsname) {
		this.goodsname = goodsname;
	}
	public double getGoodsprice() {
		return goodsprice;
	}
	public void setGoodsprice(double goodsprice) {
		this.goodsprice = goodsprice;
	}
	public String getThedate() {
		return thedate;
	}
	public void setThedate(String thedate) {
		this.thedate = thedate;
	}
	public String getShelflife() {
		return shelflife;
	}
	public void setShelflife(String shelflife) {
		this.shelflife = shelflife;
	}
	@Override
	public String toString() {
		return "User [goodsid=" + goodsid + ", goodsname=" + goodsname + ", goodsprice=" + goodsprice + ", thedate="
				+ thedate + ", shelflife=" + shelflife + "]";
	}
	public User(int goodsid, String goodsname, double goodsprice, String thedate, String shelflife) {
		super();
		this.goodsid = goodsid;
		this.goodsname = goodsname;
		this.goodsprice = goodsprice;
		this.thedate = thedate;
		this.shelflife = shelflife;
	}
	
	public User() {
		// TODO Auto-generated constructor stub
	}

}
